#set(seoTitle="下载")
#@layout()
#define main()
<div class="aw-container-wrap">
    <div class="container">
        <div class="row">
            <div class="aw-content-wrap clearfix">
                <div class="col-sm-12 col-md-9 aw-main-content">
                    <!-- tab切换 -->
                    <ul class="nav nav-tabs aw-nav-tabs active hidden-xs">
                        <li class="active"><a href="">最新</a></li>
                        <h2 class="hidden-xs">
                            <i class="icon icon-list"></i>下载
                        </h2>
                    </ul>
                    <!-- end tab切换 -->
                    <div class="aw-mod aw-explore-list">
                        <div class="mod-body">
                            <div class="aw-common-list">
                                #for(article : articleList.getList())
                                <div class="aw-item article" data-topic-id="">
                                    <div class="mod-avatar">
                                        <a class="aw-user-name aw-border-radius-5" data-id=""
                                           href="/user/detail/#(article.uid)" rel="nofollow">
                                            <img src="/upload/avatar/#(article.avatar)" alt="#(article.nickName)"/>
                                            #if(article.is_auth == 1)<i class="icon icon-v"></i>#end
                                        </a>
                                    </div>
                                    <div class="aw-question-content">
                                        <h4>
                                            #if(article.is_hot==1)<i style="color: red;"
                                                                     class="icon icon-loudspeaker"></i>#end
                                            <a href="/detail/#(article.aid)">#(article.title)</a>
                                        </h4>

                                        <p>
											<span class="text-color-999">
												<a href="/user/detail/#(article.uid)">
                                                    #(article.nickName)</a>发布了文章
                                                    • #(article.replyCount) 个评论
                                                    • #(article.views) 次浏览
                                                    • #(article.favoriteCount) 个收藏
                                                    • #date(article.addtime, "yyyy-MM-dd")
                                                <span style="color: red">
                                                     #if(article.is_pay==1)
                                                        • #(article.points) 积分
                                                    #end
                                                </span>
											</span>
                                        </p>
                                    </div>
                                </div>
                                #end
                            </div>
                        </div>

                        <!-- 分页 -->
                        <div class="mod-footer">
                            <div class="page-control">
                                #@paginate(articleList.pageNumber, articleList.totalPage, "/download?p=")
                            </div>
                        </div>
                    </div>
                </div>
                <!-- 侧边栏 -->
                <div class="col-sm-12 col-md-3 aw-side-bar">
                    <!-- 第一个侧边栏 -->
                    <div class="aw-mod aw-text-align-justify">
                        <div class="mod-head">
                            <a href="/topic" class="pull-right">更多 &gt;</a>
                            <h3>热门话题</h3>
                        </div>
                        <div class="mod-body">
                            #for(comHot : commentsHot)
                            <dl>
                                <dt class="pull-left aw-border-radius-5">
                                    <a href="/topic/detail/#(comHot.tid)">
                                        <img alt="#(comHot.name)" src="/upload/comments/#(comHot.images)"/>
                                    </a>
                                </dt>
                                <dd class="pull-left">
                                    <p class="clearfix">
										<span class="topic-tag">
											<a href="/topic/detail/#(comHot.tid)" class="text" data-id="#(comHot.name)">#(comHot.name)</a>
										</span>
                                    </p>
                                    <p><b>#(comHot.msgCount)</b>个文章</p>
                                </dd>
                            </dl>
                            #end
                        </div>
                    </div>

                    <!-- 第二个侧边栏 -->
                    <div class="aw-mod aw-text-align-justify">
                        <div class="mod-head">
                            <a href="/user" class="pull-right">更多 &gt;</a>
                            <h3>热门用户</h3>
                        </div>
                        <div class="mod-body">
                            <dl>
                                #for(userHot : userHot)
                                <dt class="pull-left aw-border-radius-5 aw-user">
                                    <a href="/user/detail/#(userHot.uid)">
                                        <img alt="" src="/upload/avatar/#(userHot.avatar)"/>
                                    </a>
                                </dt>
                                #end
                            </dl>
                        </div>
                    </div>
                    <!-- 第三个侧边栏 -->
                    <div class="aw-mod aw-text-align-justify question-related-list">
                        <div class="mod-head">
                            <h3>热门文章</h3>
                        </div>
                        <div class="mod-body font-size-12">
                            <ul>
                                #for(articleHot : articleHot)
                                <li><a href="/detail/#(articleHot.aid)">#(articleHot.title)</a></li>
                                #end
                            </ul>
                        </div>
                    </div>
                    <!-- 广告位 -->
                    <div class="aw-mod aw-text-align-justify question-related-list">
                        <div class="mod-head">
                            <h3>广告位</h3>
                        </div>
                        <div class="mod-body font-size-12" style="margin-bottom: 10px;">
                            <a href="#(advImg.skip)" target="_blank">
                                <img src="#(advImg.value)" style="width: 100%;" title="#(advImg.remarks)">
                            </a>
                        </div>
                    </div>
                </div>
                <!-- end 侧边栏 -->
            </div>
        </div>
    </div>
</div>
#end